package com.changgou.seckill.service;

/**
 * @author kfzhao
 * @version 1.0
 * @interfaceName SeckillOrderService
 * @description
 * @date 2022/1/6 15:16
 **/
public interface SeckillOrderService {

    /**
     * 秒杀下单
     *
     * @param time     秒杀时间段
     * @param id       秒杀商品id
     * @param username 秒杀用户
     * @return boolean
     * @throws
     * @description
     * @author kfzhao
     * @date 2022/1/6 15:17
     */
    boolean add(String time, Long id, String username);
}
